import time

import pandas as pd
import akshare as ak

df = ak.fund_info_index_em(symbol="全部", indicator="全部")
date = time.strftime("%Y%m%d", time.localtime())
df.to_excel(f"指数基金-东财-{date}.xlsx", index=False)